package com.hdustea.base.base

import android.content.Context
import com.hdustea.base.util.ToastUtil

/**
 * @author Weimore
2018/11/16.
description:
 */
interface IBaseView {

    fun getContext(): Context?

    fun showToast(content: String) {
        ToastUtil.showShort(content)
    }

    fun showLoading()

    fun dismissLoading()

    fun onError()

}